package com.kangtu.demoaskpager.ask.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户问答记录表
 * </p>
 *
 * @author david
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TbUserAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "user_ans_id", type = IdType.AUTO)
    private Long userAnsId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 评测试卷ID
     */
    private Long paperId;

    /**
     * 总分
     */
    private BigDecimal totalScore;

    /**
     * 风险因素
     */
    private String riskFactorInfo;

    /**
     * 干预信息
     */
    private String interveneInfo;

    /**
     * 改善方案信息
     */
    private String improvePlanInfo;

    /**
     * 答题状态 1：未完成 2：完成
     */
    private Integer status;

    /**
     * 删除状态0：未删除 1：删除
     */
    private Integer delFlag;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
